SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 49396: Reassigning a LIBNAME accessing a DB2 database in a z/OS operating environment might result in a 0C4 abend

DetailsHotfixAboutRate It
An 0C4 abend might occur when you try to reassign a LIBNAME with the DB2 engine when running the SAS® system under z/OS. The error might look similar to the following:
 ERROR: System abend 0C4 occurred in module UNKNOWN function db2m_error at offset AA8706.
 ERROR: Traceback will be attempted...
  
 NOTE: Traceback called
 NOTE:  Module  Function Offset Line
 NOTE: -------- -------- ------ ----
 NOTE: SASIODB2 §§744942 00025C    0 db2m_prep
 NOTE: SASIODB2 §§234137 000FE2    0 db2m_prep_init
 NOTE: SASIODB2 §§311643 000140    0 db2m_tab_exists
 NOTE: SASXDBI   DBIEXST 00088E    0 
 NOTE: SASXDBI   YDEXIST 000056    0 
 NOTE: SASYH     YDFXST2 0005B4    0 
 NOTE: SASWUDSF  DSEXIST 000470    0 
 NOTE: SASXFNC     YFXFN 000406    0 
 NOTE: SASXMAC    YJSYSF 001AEC    0 
 NOTE: SASXMAC     YJOCH 002334    0 
 NOTE: SASXSHEL   YTSCAN 00118C    0 
 NOTE: SASXSHEL  YJDELTA 00007E    0 
 NOTE: SASXMAC     YJLET 000DEC    0 
 NOTE: SASXMAC     YJOCH 000C12    0 
 NOTE: SASXSHEL   YTSCAN 00118C    0 
 NOTE: SASXSHEL  YJDELTA 00007E    0 
 NOTE: SASXSHEL   YJNEXT 0000C6    0 
 NOTE: SASXSHEL   YTOKAP 0000B0    0 
 NOTE: SASXSHEL   YTTKNX 000506    0 
 NOTE: SASXSHEL  YALEXEC 001F96    0 
 NOTE: SASXSHEL  YALINLN 000516    0 
 NOTE: SASXSHEL  YALPROC 000238    0 
 NOTE: SASXBTCH SASXBTCH 0013B8    0 

The error occurs when the reallocated memory points to a different location than that which had been previously allocated.

To work around this issue, clear the libref and then reissue the LIBNAME statement:

libname xxxx clear;



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to DB2z/OS8.2 TS2M09.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.